<?php //pack11class

class ObjectsListItemHeaderSortable extends Module {

    public $traceEnabled=true;
    protected $object;

	public function setup() {
        $this->object=$this->parent->getObject();
    }

    public function draw(Property $property) {
        $properties=$this->object->usedProperties();
        if(array_key_exists($property->system, $properties)){
            $current=$properties[$property->system];
            $this->setBody($current->string);
        }
    }

}
?>
